namespace JwtBearerDemo.Config;

// 从配置文件读取 JwtOptions
public class MyConfig {
    public static string Adu { get; set; } = "adu.com";
    public static string Iss { get; set; } = "iss.com"; //Issuer，这两项和登陆时颁发的一致
    public static byte[] Key { get; set; } = "2EA4151C6F79CE47CEF96782342D747A"u8.ToArray();

    //public static int Expires { get; set; } = 60 * 24;  //有效时间(分钟)
    public static int Expires { get; set; } = 1;  //有效时间(分钟)
}